package com.ruoyi.base.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.ruoyi.common.annotation.ExcelDictFormat;
import com.ruoyi.common.convert.ExcelDictConvert;
import lombok.Data;
import java.util.Date;



/**
 * 试验类型视图对象 base_sy_type
 *
 * @author zyb
 * @date 2024-04-09
 */
@Data
@ExcelIgnoreUnannotated
public class SyTypeVo {

    private static final long serialVersionUID = 1L;

    /**
     * 试验类型id
     */
    @ExcelProperty(value = "试验类型id")
    private Long syTypeId;

    /**
     * 父试验类型id
     */
    @ExcelProperty(value = "父试验类型id")
    private Long parentId;

    /**
     * 试验类型名称
     */
    @ExcelProperty(value = "试验类型名称")
    private String syTypeName;

    /**
     * 祖籍列表
     */
    @ExcelProperty(value = "祖籍列表")
    private String ancestors;

    // 排序
    @ExcelProperty(value = "排序")
    private Integer sort;

    // 类别
    @ExcelProperty(value = "类别")
    private String type;

    // 层级
    @ExcelProperty(value = "层级")
    private Integer level;

    // 项目标识
    @ExcelProperty(value = "试验标识")
    private String identification;

    /**
     * 内部试验标识
     */
    @ExcelDictFormat(dictType = "inner_flag")
    private String innerFlag;

    /**
     * 试验大类
     */
    @ExcelProperty(value = "试验大类", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "sy_big_type")
    private Long syBigType;

}
